"You do not have access to make the required system configuration modifications" after .NET app runs
Ok, I have a really strange one. I wrote a .NET 3.5 app which basically just runs some console commands automatically. I added "requireAdministrator" as the required execution level in the application manifest. When I double-click on the app, it works fine. The problem is that I need the program to run automatically when the user logs into the machine. On Windows 7, after the app runs at startup, I receive a dialog simply entitled "Error" with the following contents: "You do not have access to make the required system configuration modifications. Please rerun this installation from an administrators account.". Despite the error message, its apparent from the log file that the app worked perfectly fine. Has anyone here run into an issue like this in the past? Thanks, Mike
June 8th, 2011 4:09pm

Hello, you have to run the application using an account that have administrative privileges that allows the run of such application. You said that you added "require Administrator" as required execution level. I don't have an idea about that but I think that this require the execution using an admin account. So, you can try to delete that. For more information, post in MSDN forums. This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. Microsoft Student Partner 2010 / 2011 Microsoft Certified Professional Microsoft Certified Systems Administrator: Security Microsoft Certified Systems Engineer: Security Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration Microsoft Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration Microsoft Certified Technology Specialist: Windows 7, Configuring Microsoft Certified IT Professional: Enterprise Administrator
Free Windows Admin Tool Kit Click here and download it now
June 8th, 2011 5:09pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics